const jade=require('jade');
const fs=require('fs');
var str=jade.renderFile('views/1.jade',{pretty:true});  //pretty美化代码
fs.writeFile('html/jade1.html',str,function(err){
    if(err)
        console.log("写入失败")
    else
        console.log("写入成功")
})


